#pragma once
#include <iostream>
#include "SystemUI.h"

class DataCenter;
class User
{
    friend class DataCenter;

private:
    std::string _username;
    std::string _password;
    std::string _department;

public:
    static User ERROR_USER;

    User() = default;
    User(std::string username, std::string password, std::string department);
    std::string getUsername() const;
    std::string getDepartment() const;

    int bookMeetingRoom(int mid);
    int cancelMeetingRoom(int mid) const;
    void listAllBookedMeetingRooms() const;
};